home *** CD-ROM | disk | FTP | other *** search
- This is another Microsoft Windows patch. The need arose to allow
- Windows to access it's printers serially though a print buffer. This
- was the only piece of software that did not co-operate with a MODE
- redirect of LPT1:=COM1:. Microsoft again bypasses MS-DOS and does their
- own periphial driving, however each print also reinitalizes the baud
- rate to something you don't want.
-
- This file describes how to patch WIN200.OVL to allow almost any baud rate.
- What they don't tell you is that any baud rate from 2 to 19200 is valid.
- Windows takes the value you enter and divides it into 115200 to come up
- with a divide rate for the ACIA. This patch removes the 19200 upper limit
- and allows up to 65535 to be specified as a baud rate. By entering a baud
- rate of 1 you will end up running 115200 baud. With this you should be
- able to hit any of the "standard" fast baud rates.
-
- For Windows 3.0 you will need to patch COMM.DRV located in the \SYSTEM
- subdirectory off the main windows subdirectory. The patch is at offset
- 15B0h.
-
- What you need to do is change 21 bytes. Search for the following:
-
- 33 C0 83 F9 02 72 0E 81 F9 01 4B
-
- Starting where the 33 is, replace it with:
-
- B8 01 00 MOV AX,0001 ;Divisor for 115200 baud
- 83 F9 02 CMP CX,0002 ;Is desired rate < 2
- 72 0D JB 056C ;Yes then use ACIA divisor of 1 (AX)
- BA 01 00 MOV DX,0001 ;DX:AX = 115200
- B8 00 C2 MOV AX,C200
- F7 F1 DIV CX ;AX=DX:AX/CX otherwise calculate ACIA divisor
- 90 NOP ;Extra room !
- 90 NOP
- 90 NOP
- 90 NOP
- 90 NOP
-
- There ya go!
-
- 73, Dave
-